<?php
if (!defined('IN_XLP')||!isset($Document) || !is_array($Document)) {
    exit('Access Denied!');
}
if (isset($Document['head'])) {
?>
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<meta name="format-detection" content="telephone=no"/>
<meta charset="utf-8">
<title><?php echo WEB_TITLE.$Document['pagename']; ?></title>
<?php
  if ($Document['mycss']) {
	  getCss($Document['mycss'],true);
  }
  if ($Document['myjs']) {
	  getJs($Document['myjs'],true);
  }
}
?>
</head>